package com.shrct.businessprocess.project;

import com.shrct.businessprocess.project.RCSaleCommissionTotalSettlement;
import com.shrct.businessprocess.project.RCSalesAssignment;
import com.shrct.businessprocess.project.RCSalesCommissionYearSettlement;
import edu.fudan.mylang.pf.IDAOService;
import java.util.Date;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface RCSaleCommissionTotalSettlementDAO extends IDAOService<RCSaleCommissionTotalSettlement> {
  public abstract Double calcTotalContractProfit(final String year);
  
  public abstract RCSaleCommissionTotalSettlement doCreate(final Date settlementDate, final RCSalesAssignment saler, final Procedure1<? super RCSalesCommissionYearSettlement> initItem, final Procedure1<? super RCSaleCommissionTotalSettlement> init);
  
  public abstract void initItem(final RCSalesCommissionYearSettlement item);
  
  public abstract RCSaleCommissionTotalSettlement create(final Date settlementDate, final RCSalesAssignment saler, final Procedure1<? super RCSaleCommissionTotalSettlement> init);
  
  public abstract void delete(final RCSaleCommissionTotalSettlement value);
  
  public abstract void update(final RCSaleCommissionTotalSettlement value, final Procedure1<? super RCSaleCommissionTotalSettlement> updater);
}
